package com.wh.test;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * @Auther: HuiEr
 * @Date: 2020/2/26 22:01
 * @Description
 */
public class MyTestMd5 {
    public static void main(String[] args) {
        Md5Hash md5Hash = new Md5Hash("123");
        System.out.println(md5Hash);

        Md5Hash abc = new Md5Hash("666", "abc");
        System.out.println(abc);

        Md5Hash abc123 = new Md5Hash("abc123");
        System.out.println(abc123);

        Md5Hash md5Hash1 = new Md5Hash("123", "", 2);
        System.out.println(md5Hash1);

        Md5Hash md5Hash2 = new Md5Hash(md5Hash);
        System.out.println(md5Hash2);
    }
}
